/********************/
/* standard classes */

:root {
	--text: #aaa;
	--accent: #fc0;
	--dark-accent: #ff5f87;
	--dark-border: #ff5f8759;
	--bg: #fff;
	--sidenav-bg: linear-gradient(#4446,#2226);
	--top-nav-bg: linear-gradient(#444,#222);
	--sidenav-fg: #fff;
	--link-fg: #fc0;
	--hover-link-fg: #ff5f87;
	--code-fg: #aaa;
	--code-bg: #222;
	--inline-code-border: solid 1px #444;
	--hovered-menu-bg: linear-gradient(#444, var(--accent));
}

body::before {
	background: 0;
}

p img.logo {
	background: transparent;
	width: 180px;
}
@media (max-width: 700px) {
	p.logo {
		display: none;
	}
	.navbar-default .navbar-brand {
		margin-left: 25px;
	}
}

body {
	background-image:
		linear-gradient(to right, #222a 0%, #222 25%, #222 75%, #222a 100%),
		url("../img/whiskey.jpg");
	background-position: repeat;
	background-size: initial;
    background-attachment: fixed;
}
@media (max-width: 800px) {
	body {
		background-image:
			linear-gradient(to right, rgba(255,255,255,0.1) 0%, #162020 10%, #162020 90%, rgba(255,255,255,0.1) 100%),
			url("../img/whiskey.jpg");
		background-position: repeat;
		background-size: initial;
        background-attachment: fixed;
	}
}

body {
	font-size: 17px;
	background-color: var(--bg);
	color: var(--text);
}
.modal-dialog {
	font-size: 15px;
	color: #ccc;
}
.modal-dialog a {
	color: var(--link-fg);
}
.modal-dialog a:hover {
	text-decoration: underline;
	color: var(--hover-link-fg);
}

body .bg-secondary {
	background-color: transparent !important;
}
body .card {
	border: none;
}

.sponsorship {
	margin-top: 20px;
	display: flex;
	flex-direction: row;

}
.sponsorship a {
	margin-right: 10px;
}

.col-md-9 p.logo img.logo {
	background: transparent;
	box-shadow: none;
}

.container h1 {
	font-size: 20px;
	border-bottom: solid 1px;
	padding-bottom: 8px;
	margin: 40px 0 25px 0;
	/*border-image-source: linear-gradient(to right, var(--accent), var(--dark-accent));*/
	border-image-source: linear-gradient(to right, var(--accent), #888);
	border-image-slice: 1;
	color: #fc0;
}
.modal-body h2 {
	font-size: 18px;
}
.container h2 {
	font-size: 20px;
	color: var(--accent);
	margin: 25px 0 20px 0;
}
.modal-body h3 {
	font-size: 14px;
}
.container h3 {
	font-size: 16px;
	color: #111;
}
.modal-body h4, .modal-dialog h4 {
	font-size: 16px;
	color: #ddd;
}
.container h4 {
	color: #111;
}

body .navbar {
	background: var(--top-nav-bg);
	border-bottom: 1px solid var(--accent);
	padding: 0;
}

html body .navbar-default .navbar-nav > .active > a.nav-link,
html body .navbar-default .navbar-nav > .active > a.nav-link:focus,
html body .navbar .navbar-nav > .active > a.nav-link,
html body .navbar .navbar-nav > .active > a.nav-link:focus {
	background-image: linear-gradient(#111,#162020);
	color: var(--accent);
}
.navbar-default .navbar-nav > .open > a,
.navbar .navbar-nav > .open > a,
.navbar-default .navbar-nav > .open > a:hover,
.navbar .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .open > a:focus,
.navbar .navbar-nav > .open > a:focus,
.navbar-default .navbar-nav > li > a:hover,
.navbar .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:hover,
.navbar .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.navbar .navbar-nav > li > a:focus {
	background: var(--hovered-menu-bg);
	/*color: var(--accent);*/
}

pre {
	padding: 0;
	border-radius: 5px;
	color: var(--code-fg);
	background: var(--code-bg);
	border: solid 1px var(--code-bg);
	padding: 6px 0 4px 6px;
}

code {
	border-radius: 0;
	color: var(--code-fg);
	border: var(--inline-code-border);
	background: var(--code-bg);
}
.hljs {
	color: var(--code-fg);
	background: var(--code-bg);
}

body a,
body a.nav-link,
body .navbar-dark .navbar-nav a,
body .navbar-dark .navbar-nav a.nav-link
{
	color: var(--sidenav-fg);
}
body li.nav-item a:hover,
body a.nav-link:hover
{
	color: var(--accent);
}
[role="main"] a {
	text-decoration: underline;
	color: var(--link-fg);
}
[role="main"] a:hover {
	color: var(--hover-link-fg);
}

kbd {
	padding: 2px 4px;
	color: var(--accent);
	background: var(--sidenav-bg);
	border-radius: 2px;
	box-shadow: none;
	font-weight: bold;
	margin: 1px;
}

kbd.b {
	font-size: 18px;
	padding: 0 5px;
}

.col-md-9 {
	max-width: 800px;
}
.col-md-9 img {
	max-width: 100%;
	display: inline-block;
	padding: 0;
	line-height: 1.428571429;
	background-color: #fff;
	border: none;
	border-radius: 0;
	margin: 10px auto 20px auto;
	box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
}
.navbar-collapse {
	padding-left: 0;
}
.bs-sidenav {
	background: var(--sidenav-bg);
}
.bs-sidenav.nav li {
	padding-left: 15px;
}
.bs-sidenav.nav li.main {
	padding-left: 0px;
}
body .navbar {
	line-height: 36px;
}
body .navbar-brand {
	background: url(../img/logo-rhit.svg) no-repeat;
	background-position: left center;
	background-size: 40px 40px;
	padding-left: 50px;
	font-size: 0;
	line-height: 24px;
}

.bs-sidebar .nav > li > a {
	border-right: 1px solid transparent;
}
.bs-sidebar .nav > .active > a,
.bs-sidebar .nav > .active:hover > a,
.bs-sidebar .nav > .active:focus > a,
.bs-sidebar .nav > li > a.active,
.bs-sidebar .nav > li > a.active:hover,
.bs-sidebar .nav > li > a.active:focus
{
	font-weight: initial;
	background-color: #bed7e632;
	border-right: 1px solid;
}
.bs-sidebar .nav > .main.active > a,
.bs-sidebar .nav > .main.active:hover > a,
.bs-sidebar .nav > .main.active:focus > a {
	font-weight: normal;
}
.bs-sidebar .nav > li > a {
  font-weight: normal;
}

.table-striped > tbody > tr:nth-of-type(2n+1) {
	background: transparent;
}
.table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td {
    border-top: thin solid var(--dark-border);
}
.table-hover > tbody > tr:hover {
	background: transparent;
}
table td a {
    color: var(--dark-accent);
}
.table > thead > tr > th {
    border-bottom: 1px solid var(--dark-accent);
}
body .table {
	color: var(--text);
}
body .table-hover tbody tr:hover {
	color: var(--text);
}

body .dropdown-menu {
	background: #222;
}
body .dropdown-menu li a {
	color: #ddd;
}

body .dropdown-menu > .active > a,
body .dropdown-menu > .active > a:focus {
	color: #111;
	background: #fc0;
}
body ul.dropdown-menu li.active a:hover {
	color: #111;
	background: #fc0;
	/**color: #ff5f87;
	background: #fc0;**/
}
body ul.dropdown-menu li a:hover {
	color: #111;
	background: #fc0;
	/**background: #111;
	color: #ff5f87;**/
}
body .nav>li>a:hover, body .nav>li>a:focus {
	background: #222;
}
body .toc-header {
	font-weight: bold;
	font-size: 18px;
	margin-left: 20px;
	padding-bottom: 8px;
	align-self: start;
	/*border-bottom: thin solid #ff5f87;*/
}
.admonition.note {
    color: var(--text);
    background-color: #1c393542;
    border-color: #144633;
}

td code {
	white-space: nowrap;
}

.modal-content {
	background: #222;
}

code.no-wrap {
	white-space: normal;
}


body #toc-collapse ul.nav.flex-column.bs-sidenav {
	overflow-y: auto;
	max-height: 85vh;
}
/******************/
/* custom classes */

.install-link {
	font-size: 17px;
	margin: 10px 0 10px 0px;
	text-align:center;
	background: #133d55;
	border-radius: 5px;
	padding: 5px 8px;
}
.install-link:hover {
	background: #acf;
}
